﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.KaoQin
{
    /// <summary>
    /// 出差考勤申请流程记录
    /// </summary>
    [Serializable]
    public class kqChuChai : Entity
    {
        /// <summary>
        /// 用户
        /// </summary>
        public virtual ywxt.t_sys_user sqUser { get; set; }

        /// <summary>
        /// 申请标题
        /// </summary>
        public virtual string Title { get; set; }

        /// <summary>
        /// 外出事务
        /// </summary>
        public virtual string Content { get; set; }

        /// <summary>
        /// 出差目的地
        /// </summary>
        public virtual string Destination { get; set; }

        /// <summary>
        /// 天数
        /// </summary>
        public virtual decimal Days { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public virtual DateTime bgnDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public virtual DateTime endDate { get; set; }

        /// <summary>
        /// 通行人
        /// </summary>
        public virtual IList<ywxt.t_sys_user> ccUsers { get; set; }

        /// <summary>
        /// 审批记录ID
        /// </summary>
        public virtual string ApprovalRecordId { get; set; }

        /// <summary>
        /// 审批结束标志：-1：不通过结束；0：审批中；1：结束
        /// </summary>
        public virtual int sqEndFlag { get; set; }

        /// <summary>
        /// 审批结束日期
        /// </summary>
        public virtual DateTime sqEndDate { get; set; }

        /// <summary>
        /// 审批结束描述
        /// </summary>
        public virtual string ProcessDescribe { get; set; }

        public kqChuChai()
        {
            ccUsers = new List<ywxt.t_sys_user>();
        }
    }
}
